using System;
using System.Runtime.CompilerServices;
using System.Collections;
using System.Html;

namespace System.Html
{
	/// <summary>
	/// Represents a single style sheet in the document
	/// </summary>
	[Imported]
	[IgnoreNamespace]
	public sealed class StyleSheet
	{
		/// <summary>
		/// Private Constructor - prevents instantiating
		/// </summary>
		private StyleSheet ()
		{
		}

		/// <summary>
		/// Sets or retrieves a value that indicates whether
		/// the user can interact with the object
		/// </summary>
		public bool Disabled;

		/// <summary>
		/// Sets or retrieves the URL of the linked style sheet
		/// </summary>
		public string Href;

		/// <summary>
		/// Retrieves the string identifying the object
		/// </summary>
		public string Id;

		/// <summary>
		/// Sets or retrieves the title of the style sheet
		/// </summary>
		public string Title;

		/// <summary>
		/// Retrieves whether the rule or style sheet is
		/// defined on the page or is imported
		/// </summary>
		public readonly bool ReadOnly;

		/// <summary>
		/// Retrieves the Cascading Style Sheets (CSS)
		/// language in which the style sheet is written
		/// </summary>
		public readonly string Type;

		/// <summary>
		/// Retrieves a collection of rules defined in a style sheet
		/// </summary>
		public readonly CSSRule[] Rules;

		/// <summary>
		/// Represents an @page rule within a styleSheet
		/// </summary>
		public readonly object Page;
	}
}
